
class MarketIncubationTimeModel {
  String? buyEndTime;
  String? buyStartTime;
  int? id;
  String? saleEndTime;
  String? saleStartTime;

  MarketIncubationTimeModel({this.buyEndTime, this.buyStartTime, this.id, this.saleEndTime, this.saleStartTime});

  MarketIncubationTimeModel.fromJson(Map<String, dynamic> json) {
    buyEndTime = json["buyEndTime"];
    buyStartTime = json["buyStartTime"];
    id = json["id"];
    saleEndTime = json["saleEndTime"];
    saleStartTime = json["saleStartTime"];
  }

  static List<MarketIncubationTimeModel> fromList(List<Map<String, dynamic>> list) {
    return list.map(MarketIncubationTimeModel.fromJson).toList();
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> _data = <String, dynamic>{};
    _data["buyEndTime"] = buyEndTime;
    _data["buyStartTime"] = buyStartTime;
    _data["id"] = id;
    _data["saleEndTime"] = saleEndTime;
    _data["saleStartTime"] = saleStartTime;
    return _data;
  }

  MarketIncubationTimeModel copyWith({
    String? buyEndTime,
    String? buyStartTime,
    int? id,
    String? saleEndTime,
    String? saleStartTime,
  }) => MarketIncubationTimeModel(
    buyEndTime: buyEndTime ?? this.buyEndTime,
    buyStartTime: buyStartTime ?? this.buyStartTime,
    id: id ?? this.id,
    saleEndTime: saleEndTime ?? this.saleEndTime,
    saleStartTime: saleStartTime ?? this.saleStartTime,
  );
}